package cn.stylefeng.guns.sys.modular.system.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.sys.modular.system.entity.BtyPaymentOrderConfigMugua;
import cn.stylefeng.guns.sys.modular.system.entity.BtyPaymentOrderDetails;
import cn.stylefeng.guns.sys.modular.system.model.params.BtyPaymentOrderAndYybbParam;
import cn.stylefeng.guns.sys.modular.system.model.params.BtyPaymentOrderDetailsParam;
import cn.stylefeng.guns.sys.modular.system.model.params.BtyPaymentOrderParam;
import cn.stylefeng.guns.sys.modular.system.model.result.BtyPaymentOrderAndYybbResult;
import cn.stylefeng.guns.sys.modular.system.model.result.BtyPaymentOrderDetailsResult;
import cn.stylefeng.roses.core.reqres.response.ResponseData;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 店名日营业现金支付订单表 服务类
 * </p>
 *
 * @author wjk
 * @since 2021-12-07
 */
public interface BtyPaymentOrderDetailsService extends IService<BtyPaymentOrderDetails> {

    /**
     * 新增
     *
     * @author wjk
     * @Date 2021-12-07
     */
    void add(BtyPaymentOrderDetailsParam param);

    /**
     * 删除
     *
     * @author wjk
     * @Date 2021-12-07
     */
    void delete(BtyPaymentOrderDetailsParam param);

    /**
     * 更新
     *
     * @author wjk
     * @Date 2021-12-07
     */
    void update(BtyPaymentOrderDetailsParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author wjk
     * @Date 2021-12-07
     */
    BtyPaymentOrderDetailsResult findBySpec(BtyPaymentOrderDetailsParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author wjk
     * @Date 2021-12-07
     */
    List<BtyPaymentOrderDetailsResult> findListBySpec(BtyPaymentOrderDetailsParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author wjk
     * @Date 2021-12-07
     */
     LayuiPageInfo findPageBySpec(BtyPaymentOrderDetailsParam param);

    /**
     * 店内现金交账开始日期
     * @return
     */
     String generalGetSysDictPaidCashStartDateDay();
    /**
     * 店内现金交账充值现金开始日期
     * @return
     */
     String generalGetSysDictXjbzStartDateDay();

    /**
     * 获取分页查询支付的一些列表
     *
     * @author wjk
     * @Date 2021-12-08
     */
    LayuiPageInfo searchPayPageList(BtyPaymentOrderAndYybbParam btyPaymentOrderAndYybbParam);

    /**
     * 查询根据订单编号查询列表
     *
     * @author wjk
     * @Date 2021-12-09
     */
    LayuiPageInfo listByPayCode(BtyPaymentOrderDetailsParam btyPaymentOrderDetailsParam);

    /**
     * 根据yybb的id,和现金实缴，生成手动支付订单，生成手动支付的现金额度，手动支付现金额度；
     *
     * @author wjk
     * @Date 2021-12-09
     */
    Map<String, String> btyPaymentOrderDetailsForPaidCash(BtyPaymentOrderDetailsParam btyPaymentOrderDetailsParam);

    /**
     * 获取查询支付的列表，导出查询
     *
     * @author wjk
     * @Date 2021-12-14
     */
    List<BtyPaymentOrderAndYybbResult> searchPayList(BtyPaymentOrderAndYybbParam btyPaymentOrderAndYybbParam);

    Map<String ,Object> searchMenDianList(BtyPaymentOrderAndYybbParam btyPaymentOrderAndYybbParam);

    Map<String, String> xjjzPushMsgToIMAndWx(BtyPaymentOrderAndYybbParam btyPaymentOrderAndYybbParam);

    /**
     *
     *
     * 查询随行付账号分组
     * @author wjk
     * @Date 2022-07-04
     */
    List<BtyPaymentOrderConfigMugua> getSuixingfuShopNumList();
}
